Fixed formatting

for Rows and made the main method static