Added building networks from layout files and the notion of node indices.
Merge branch 'master' of https://github.com/kranjan94/neural-nets