Create probs.rb

Based on a previous Gist by myself.