Adding documentation. Still a very incomplete program