tweaked flap time
added skeleton of obstacle array logic