Just get a router, seriously. Doesn't even need to be a particularly good router if all you care about is being able to do basic web browsing.

Ad-hoc networks are intended for specific, limited, uses, and this isn't one of them. Getting a router would be far quicker and easier than trying to teach you enough networking basics to be able to set this sort of thing up on your own. Especially since after you learned enough networking basics to set this up on your own, you'd agree that a router is a far better solution.