Added semantic analysis stub
Added semantic analysis for methods