CS50 PSet5 Resize