Added my implementation of the cleanup program