Check If Puzzle Completed

Added methods to determine whether or not the puzzle was completed
successfully or not.