created pacman.java

added class and constructor bodies