add parse() function to BitMatrix to create a BitMatrix from its toString() output