added a output function which does not append a newline to console (echo_append) and added a tick method