Implemented argument passing(Somewhat tested).