Coursera Programming Assignment 2, v26052014