created generate random tile at random location function