Switching problem 44 to use isPentagonal() function from ceuler lib.