Painting with bacteria: Smart templated self assembly using motile bacteria