Finally it's working. Only need some optimizations and maybe make it
work with strings, dunno.