Rough coding part for all statments are added, except for repeat stmt