First Student Interview Question

Implement map in three functions