add eq function, rewrite null? and empty? in toy language