Simple ascii to binary converter