Added toggle funcitonallity for GPIO pin class.
Added ad.
When building code, using -o3 optimization.