Initial implementation of calculating the alignment for the user.

Deleted print statement used for testing.