Fixed some minor issues with if and while loop translation. Added subroutine which addresses logical && and ||. Added in extra test cases