added basic and intermediate.js

basic and intermediate are ready to be reviewed for pull into master. Roman nums is over my head at the moment; i'll keep thinking about it.