Completed exercises from Chris Pine's book "Learn to Program"