Semantic Errors

Added Semantic Errors and Warnings