A code exercise I did for a job application