fix some edge cases in Primary Arithmetic. Add test cases
fix merge errors with input.txt