An attempt at implementing my own chord from scratch.