Added type casting, working for basic int/float/bool, haven't done pointers yet