implemented basic ints and bools
implemented primops by case bashing. need ot make it more elegant somehw