Fixed some misplaced parentheses.
Added sequential_tests.py for testing.