k33rth1c0des's submissions for Write a function