flexible spaces in prolog, lol not even close