Parse simple sentence into logical form
added main function and fixed precedence order in reduceAnd