Simple template code written while applying for a job (code challenge)