Cleaned up code. Added implementation of scatter search with constant memory