HW_6.s

This is using method 1 described in the online notes. The 2nd method requires significantly less lines of code, but the notes are not very thorough in describing the algorithm.