removed unnecessary newline, cleaned up code, swapped while loop for for loop, changed version to 0.5.