fixed all warnings; set -Wall; changed alphabet to unsigned char*