comments added

comments for isSolved() added