solutions to 2 easy challenges.