you can buy a cheap router and some ethernet cables and set up a network. you can buy a wireless router and set up a network that way. or if you are just sharing files and no internet you can use a crossover ethernet cable (no router needed) or use USB
You can use crossover cable if you wanted to share the internet too. Its the cheaper option as all you need are a network card in each computer and a single crossover network cable.