Update Parser.java

Added C Gen code
Update Parser.java
Add code for part4. All cases work except cases with the TILDE scope operator.