Added declare statement, implemented assign blocks