commented out remove function error occuring at run, program runs reverse print correctly now