Source code of command pattern practice from SIG.