Algebraic classification of higher dimensional spacetimes based on null alignment