Refactoring a little.
Added agda code of "Basic Programming and Proving".