Add pascal solution