Added parsing for ^, |, & and % operators