Pasted in program as it runs in my linux laptop.