Removed unneeded functions

2005: Replaced reversed with reverse=True in problem 4