Simple var_name to register allocator for Mips homework, currently in Python