Fixes issues in 100 days of Ruby project