bug fix in IR gen prototype
fixed a bug when declaring new variables
added eclipse default style