void square(int n) {
    for (int i = 0; i < n; i++) {
        for (int j = 0; j < n; j++) {
            std::cout << "*";

Basically this should make a square but i don't really understand how it works and how should i modify it in a way that the are inside the square is empty without the *