Adding example of how to use methods

Should close #19