Mapping methods | Computer Science homework help