Add methods to check if a number is pentagonal or not and to get the nth
pentagonal number.

Signed-off-by: Anuvrat Singh <anuvrat@amazon.com>
Solved problem 44

Signed-off-by: Anuvrat Singh <anuvrat@amazon.com>