Implementation of extended version of "tutorial implementation of a dependently typed lambda calculus"