Fixed even and odd partitions. Decreasing still remains
All functions working except for decreasing.