Map and reduce codes to solve course's problems.