implemented jays algo v0.1
changing algo in room.rb and adding test data in seeds