This is an updated version of my Ruby Magic Number program