Cleaned up the code and updated prob11 with changes I had made with maxProd