Simple character generator built in php