solve the zebra puzzle via erlang