Making necessary changes for PAC-man