Added exercise pattern for Command pattern