amended rspec config to work on codio, amended array spec to use range as hash key rather than numbers