Added program structuring
Fullfilled grammar