Reg Allocation: added run function that does everything