changed goEast function to append
added instructions for the append function