add knapsack GA code
refactor knapsack to move bit parsing into the class itself