Added solution printing