Merge pull request #1 from baiming969696/master

test_network.rb added
Adjust the format
Modify some misleading codes
Start writing Network
2 new function tests: select and expand