Lectures on Constrained Systems