Detecting edges in .pgm images written in arm assembly.