adds encoder test program
adds diagram
first blurb in README