Updated the Unit Test to use the updated question 3

There are also a few minor eclipse auto formatting changes.
Added documentation +optimization to the bonus

The prices are now sorted to descending order before running the
algorithm.