Didnt see the bug you mentioned but it could be a result of something
weird. You were looking for TRUE instead of true, also you always
printed a false on the last line because of your }else{. Your method is
really slow so I am going to make it faster later.