A3 Logical expressions, indexing, and flow control