Changed true,false=0==0,0==1 to simply use True and False