Following along Chris Pine's book 'Learn to Program'