fix typo in logical operators lecture
add note about type casting C gotchas