added contact listener class and implemented player movement