First Versions

First Pascal and C versions.