Added solution to Timus 1225 Flags