Added a function to tell if a level is finished