Added a reference implementation

from the PLTW site