Added left divide and fixed operator precedence