Made formatting changes and implemented help function