Dude just go to minecraft.net
Then go to download
Then download Server.exe or Server.jar
Now go to Run
type cmd and click cmd
now type ipconfig
scroll up to your wireless lan adapter wireless network connection
look for the IPV4 address
now make a new folder on the desktop
call it whatever you want
drag and place your server.jar or server.exe in it
run it
you should get a bunch of files loading that dont matter for now
go back to your ipv4 address and go to minecraft create new server: with the ipv4 address as ip
on other computer make new server with ipv4 address as ip
if server isnt running then it wont work so run it
go to it and type in op <playername> so u can use commands
this will only let eachother join if A: You are on same internet network B: it is running C: there is no whitelist.