Added some math and format sequences to ex5