Added isJust, fromJust, head, tail as helpfer functions.
Updated listing style.
Adjusted figure size for filters so it fits onto the end of the page.
Wrote agent function.