Code formatting
Added support for configurable size array.
Corrected before and after macros
Run queue is moved to scheduler context structure
Removed old run conditions
Set priority function is simplified. Following changes in scheduler and priority array.
Code formatting
Removed invalid code
Protected invalid code