adding even / odd / first / last class names to table rows