Added end game procedure

Also the final map has been reset to link to level 9