We can\'t use ArrayList or something like that, because the teacher told us to not use them, so i got stuck at this point. The signature of the function is:
pub