add brace

Signed-off-by: JIANG Di <dd19941105@gmail.com>
add Gauss–Seidel method

Signed-off-by: JIANG Di <dd19941105@gmail.com>
style fixed

Signed-off-by: JIANG Di <dd19941105@gmail.com>