Changed printing system to use bit shifting instead of strings.