Wrote server and client scripts for Thiago's code, also fixed a space in Thiago's client code