Use ^ over ** to express the power function.

See http://www.haskell.org/haskellwiki/Power_function
Improve the answer for the third exercise.