Basic problems

map and array problems