another alignment method
brute force method implemented. works commendable