Implementing ruby challenges from various sources