Solved Fix Errors Including Compilation And Logic Errors

Solved Fix Errors Including Compilation And Logic Errors