Program does what it should do!!

Final version before code review