Added specs2 dependency
Sample code for factorial