My code for datascience.net challenges.