Changing all occurrences of `and` and `or` to `&&` and `or`

Here's a cheers to me for thinking they weren't the same as in PHP.