Wrote the Block Touching Functions.

Thank you for indicating to me that |= means OR-ing them together, I didn't know what that was. The blocks still overlap when I try to play them, though, so I'm going to look through the rest of the code.