Added createNetwork function with just connectivity (no randomized weights)