renamed random() to coin() and added sample()-step which supports random walks. Fixed #416.