our updated main files from lab - backspace function implemented, message passing