Added some printouts to show the probabilities changing.
Added copyright header