starting aggressive algorithm writeup