drag and drop functionality added to the puzzle