Update hw4.md

Fixed definition of Profit array to values to give correct example run.