Implemented branch table for switch()