First cut implementation done.

1. Order of values obtained is correct.
2. Though, they aren't exactly correct.