Started adding max-sum puzzle part