Create hoursinayear.rb

Hours in a year