Statistics for Genetic logic gates enable patterning of amyloid nanofibers