added funktions for turning left and right, also added delay to functions that need it and fixed an error in regulation