Implement a static void method called printLadder which accepts a nonnegative integer n and print a ladder shape of 1's consisting of n steps. For example:
printLadder(1); 1
printLadder(4); 1
11
111
1111