Initial implementation of assignment solution.