Maximum Product Partition - Coding problem | OneNoughtOne