New functions randomTrue and randomFalse. Updated comments too.