Practicing Design Pattern at very first time