Refactored tests into loop

Added array padding so array would begin at 1. Then created array to
hold test answers