Implemented a basic version of randomwalks.py