Added comments

Added comments and removed old debugging prints.