Optical label detection and packet switching using a 4×4 optical crosspoint switch matrix