Works now

1) Gave variables meaningful names
2) Added comments