Exercise for practicing Learn C the Hard Way