Control structure using pattern matching like Erlang

During the week end was trying to implement a control structure using pattern matching similar to erlang implementation in ruby Here is my result...
Prasath Ram
43 sec read