Bug fixes & error correction

*	printf("%c\n", *message) corrected
*	allocationSize now not a pointer
*	do {} while exit condition correction
*	all global library variables now are static
*	exit(0) deleted