Added code for week #2.