number guess function completed and operational