Something which I made for college but the plan got discontinued. Feel free to modify the code :)