implemented pipe feature for echo command

the echo command can now create files with text passed or append text
using the operators > or >> followed by a new or existing file.
updateTimestamp function implemented

also handled invalid filename