Worked on optimal lineup solver