functions+commenting+choosing

taking all code intofunctions + comment them ,user can choose browser for opening task