Changed Player so that it can handle null tiles