added implementations for another 4 problems: amicable numbers, factorial digit sum, maximum path sum, power digit sum