Convert Array To Integer Python