BNY Interview Question

Implement map from the scratch. OOPS