implemented the Chord prototype
implemented Chord tests