formate code to Allman style