Added local and global statements. Locals type - dynamic.