TeleportHandler uses enhanced FOR loops

Changed the remaining FOR loops in the TeleportHandler class to the
enhanced FOR loop.