Register allocation 

Date : 2/26/2014 

Few bug fixes :