simply buy a wireless router. all laptops should also have wireless lan card. otherwise you need to buy LAN cables and connect them to the router.
you'll all be able to see each other without internet connection. as long as IM does not use internet, you'll be able to message each other.
simply setup a LAN connection