Program fully working. Flexibility added. implemented and output Strategy design. Added Comments