adding the solution to easy dailyprogrammer challenge #127
new file:   mccarthy.hs
implementing the complete solution of the challenge