Fix bug in factorial solution - 0! was previously incorrect