A simple probability table generator