Command behavioral design pattern added.

Command behavioral design pattern added. Test implemented.