Updated comments and removed redundant check when finding the secret phrase