Implementing TDD

Was able to get factorial method working correctly