Fix trailing spaces, code style

Signed-off-by: Shivam Dixit <shivamd001@gmail.com>