added Position class, tile color function returning null for some reason