added and passes new rspec tests and completes tie_break method