* Placed the algorithms within their own functions separate from the input and output code * Updated README