Homework #2.

Added coordinate index