Added ted the basic code sent by everyone to the git repository, for later reference