Python script for LCD connected to Raspberry pi